const text = document.querySelector<HTMLInputElement>('input')
if(text !== null){
    text.addEventListener('click', (e:MouseEvent) =>{
        console.log(e.clientX)
    })
    console.log(text.value)
}
const text1 = document.querySelector('input') as HTMLInputElement
const text2 = document.querySelector<HTMLInputElement>('input')
console.log(text2!.value)